package com.sd.nacosdemo.controller;

import com.sd.nacosdemo.service.NacosService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class NacosController {
    @Autowired
    private NacosService nacosSeervice;

    @RequestMapping("/test")
    public String naTest(){
        String s = nacosSeervice.naTest();
        return s;
    }
}
